/*
	Copyright 2007-2010 Petr Ohlidal

	This file is a part of GrobMaker

	GrobMaker is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	GrobMaker is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with GrobMaker.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef GROBMAKER_GLOBAL
#define GROBMAKER_GLOBAL

/**
 * @file
 * @brief Stores the program's global macros and other compile-time config.
 */


#include <string>
#include "FreeImage.h"

namespace GrobMaker{


#define COPYRIGHT "Copyright (c) 2007-2009 Petr Ohlidal"
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_BUGFIX 1


#define DEFAULT_SHADOW_ALPHA 0.55f
#ifdef PNG_Z_BEST_COMPRESSION // Sometimes it's missing, really
const int SAVE_FLAGS_PNG(PNG_Z_BEST_COMPRESSION);
const int DEFAULT_IMG_FLAGS(PNG_Z_BEST_COMPRESSION);
#else
const int SAVE_FLAGS_PNG(0);
const int DEFAULT_IMG_FLAGS(0);
#endif
const std::string DEFAULT_GROBDIR_NAME("grob");
#define DEFAULT_IMG_EXTENSION "png"
#define DEFAULT_IMG_TYPE FIF_PNG



enum GrobdirExistsAction {NEW_NAME, EXIT, CONTINUE, ASK_NEW_NAME, ASK_ACTION};

} // namespace GrobMaker

#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;

#endif // #ifndef GROBMAKER_GLOBAL
